﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Globalization;

namespace MobileOSMLib
{
    public class MapUrlBuilder
    {
        public Coordinate _coordinate = new Coordinate();
        public int _zoomLevel = 17;
        public int _xSize = 256;
        public int _ySize = 256;

        public MapUrlBuilder()
        {
        }

        #region public properties
        public int XSize
        {
            get
            {
                return _xSize;
            }
            set
            {
                _xSize = value;
            }
        }
        public int YSize
        {
            get
            {
                return _ySize;
            }
            set
            {
                _ySize = value;
            }
        }
        /// <summary>
        /// Coordinate to use in url
        /// </summary>

        public Coordinate CenterCoordinate
        {
            get
            {
                return _coordinate;
            }
            set
            {
                _coordinate = value;
            }
        }

        /// <summary>
        /// Zoomlevel to use in url
        /// </summary>
        public int ZoomLevel
        {
            get
            {
                return _zoomLevel;
            }
            set
            {
                _zoomLevel = value;
            }
        }



        #endregion
    }
}
